package com.rc.saas.mini.model.tenant;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-06-23
 */

@ApiModel(value=" tenant ", description=" 运营商（租户）信息表 ")
public class Tenant extends BaseModel{ 

    @ApiModelProperty(value = "运营商组织9位机构代码")
    private String tenantCode;
 
    @ApiModelProperty(value = "运营商名称")
    private String tenantName;
 
    @ApiModelProperty(value = "简称")
    private String tenantShortname;
 
    @ApiModelProperty(value = "组织代码简称,4位纯数字运营商前缀")
    private String tenantPrefix;
 
    @ApiModelProperty(value = "运营商类型 0 SAAS运营商 1 互联互通运营商")
    private String tenantType;
 
    @ApiModelProperty(value = "运营商logo")
    private String tenantLogoImg;
 
    @ApiModelProperty(value = "公众号名称")
    private String wechatName;
 
    @ApiModelProperty(value = "公众号原始ID originalid")
    private String wechatOriginalid;
 
    @ApiModelProperty(value = "公众号的appid")
    private String wechatAppid;
 
    @ApiModelProperty(value = "公众号的密钥")
    private String wechatSecret;
 
    @ApiModelProperty(value = "公众号的Token")
    private String wechatToken;
 
    @ApiModelProperty(value = "微信支付商户号mchId")
    private String wechatPayMchid;
 
    @ApiModelProperty(value = "微信支付商户密钥（一定要32位）")
    private String wechatPaySecret;
 
    @ApiModelProperty(value = "微信支付v3商户密钥（一定要32位）")
    private String wechatPayV3Scecret;
 
    @ApiModelProperty(value = "微信支付v3平台证书序列号")
    private String wechatPayV3Serial;
 
    @ApiModelProperty(value = "桩体上张贴的二维码内容（关注的公众号URL），可以直接在微信后台生成")
    private String wechatQrcode;
 
    @ApiModelProperty(value = "微信部署的域名")
    private String wechatDomain;
 
    @ApiModelProperty(value = "小程序原始id")
    private String minipOriginalid;
 
    @ApiModelProperty(value = "小程序appid")
    private String minipAppid;
 
    @ApiModelProperty(value = "小程序密钥")
    private String minipSecret;
 
    @ApiModelProperty(value = "小程序Token")
    private String minipToken;
 
    @ApiModelProperty(value = "阿里appid")
    private String aliAppid;
 
    @ApiModelProperty(value = "阿里密钥")
    private String aliSecret;
 
    @ApiModelProperty(value = "阿里token")
    private String aliToken;
 
    @ApiModelProperty(value = "联系人名字")
    private String contactName;
 
    @ApiModelProperty(value = "运营端登录名称")
    private String loginName;
 
    @ApiModelProperty(value = "初始密码")
    private String password;
 
    @ApiModelProperty(value = "联系电话")
    private String phone;
 
    @ApiModelProperty(value = "客服电话")
    private String servicePhone;
 
    @ApiModelProperty(value = "在线客服二维码")
    private String serviceImg;
 
    @ApiModelProperty(value = "公司地址")
    private String address;
 
    @ApiModelProperty(value = "统一社会信用代码")
    private String license;
 
    @ApiModelProperty(value = "公司法人")
    private String owner;
 
    @ApiModelProperty(value = "法人身份证")
    private String ownerCard;
 
    @ApiModelProperty(value = "短信签名")
    private String smsSign;
 
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
 
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
 
    @ApiModelProperty(value = "会员注册赠送金额,默认0")
    private BigDecimal registeGiveAmount;
 
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;
 
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;
 
    @ApiModelProperty(value = "商城核销码")
    private String shopVerificationCode;
 
    @ApiModelProperty(value = "多品牌充电服务器域名,STD_DOMAIN,ZC_DOMAIN")
    private String elecServerDomain;
 
    @ApiModelProperty(value = "配合elec_server_domain使用的同一品牌通讯协议的多部署分流器，默认0，表示只部署一个(瑞晨默认为1,其他为0)")
    private Integer elecServerSpliter;
 
    @ApiModelProperty(value = "会员ID,内部互联时需要（将迁移到hlhtsk_tenant表）")
    private Long memberId;
 
    @ApiModelProperty(value = "开放微信运营 0开放 1不开放 默认1")
    private String operateOpenforWx;
 
    @ApiModelProperty(value = "开放小程序运营 0开放 1不开放 默认1")
    private String operateOpenforMini;
 
    @ApiModelProperty(value = "开放APP运营  0开放 1不开放 默认1")
    private String operateOpenforApp;
 
    @ApiModelProperty(value = "状态 0:正常 1:暂停 默认0")
    private String status;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getTenantShortname() {
        return tenantShortname;
    }

    public void setTenantShortname(String tenantShortname) {
        this.tenantShortname = tenantShortname;
    }

    public String getTenantPrefix() {
        return tenantPrefix;
    }

    public void setTenantPrefix(String tenantPrefix) {
        this.tenantPrefix = tenantPrefix;
    }

    public String getTenantType() {
        return tenantType;
    }

    public void setTenantType(String tenantType) {
        this.tenantType = tenantType;
    }

    public String getTenantLogoImg() {
        return tenantLogoImg;
    }

    public void setTenantLogoImg(String tenantLogoImg) {
        this.tenantLogoImg = tenantLogoImg;
    }

    public String getWechatName() {
        return wechatName;
    }

    public void setWechatName(String wechatName) {
        this.wechatName = wechatName;
    }

    public String getWechatOriginalid() {
        return wechatOriginalid;
    }

    public void setWechatOriginalid(String wechatOriginalid) {
        this.wechatOriginalid = wechatOriginalid;
    }

    public String getWechatAppid() {
        return wechatAppid;
    }

    public void setWechatAppid(String wechatAppid) {
        this.wechatAppid = wechatAppid;
    }

    public String getWechatSecret() {
        return wechatSecret;
    }

    public void setWechatSecret(String wechatSecret) {
        this.wechatSecret = wechatSecret;
    }

    public String getWechatToken() {
        return wechatToken;
    }

    public void setWechatToken(String wechatToken) {
        this.wechatToken = wechatToken;
    }

    public String getWechatPayMchid() {
        return wechatPayMchid;
    }

    public void setWechatPayMchid(String wechatPayMchid) {
        this.wechatPayMchid = wechatPayMchid;
    }

    public String getWechatPaySecret() {
        return wechatPaySecret;
    }

    public void setWechatPaySecret(String wechatPaySecret) {
        this.wechatPaySecret = wechatPaySecret;
    }

    public String getWechatPayV3Scecret() {
        return wechatPayV3Scecret;
    }

    public void setWechatPayV3Scecret(String wechatPayV3Scecret) {
        this.wechatPayV3Scecret = wechatPayV3Scecret;
    }

    public String getWechatPayV3Serial() {
        return wechatPayV3Serial;
    }

    public void setWechatPayV3Serial(String wechatPayV3Serial) {
        this.wechatPayV3Serial = wechatPayV3Serial;
    }

    public String getWechatQrcode() {
        return wechatQrcode;
    }

    public void setWechatQrcode(String wechatQrcode) {
        this.wechatQrcode = wechatQrcode;
    }

    public String getWechatDomain() {
        return wechatDomain;
    }

    public void setWechatDomain(String wechatDomain) {
        this.wechatDomain = wechatDomain;
    }

    public String getMinipOriginalid() {
        return minipOriginalid;
    }

    public void setMinipOriginalid(String minipOriginalid) {
        this.minipOriginalid = minipOriginalid;
    }

    public String getMinipAppid() {
        return minipAppid;
    }

    public void setMinipAppid(String minipAppid) {
        this.minipAppid = minipAppid;
    }

    public String getMinipSecret() {
        return minipSecret;
    }

    public void setMinipSecret(String minipSecret) {
        this.minipSecret = minipSecret;
    }

    public String getMinipToken() {
        return minipToken;
    }

    public void setMinipToken(String minipToken) {
        this.minipToken = minipToken;
    }

    public String getAliAppid() {
        return aliAppid;
    }

    public void setAliAppid(String aliAppid) {
        this.aliAppid = aliAppid;
    }

    public String getAliSecret() {
        return aliSecret;
    }

    public void setAliSecret(String aliSecret) {
        this.aliSecret = aliSecret;
    }

    public String getAliToken() {
        return aliToken;
    }

    public void setAliToken(String aliToken) {
        this.aliToken = aliToken;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getServicePhone() {
        return servicePhone;
    }

    public void setServicePhone(String servicePhone) {
        this.servicePhone = servicePhone;
    }

    public String getServiceImg() {
        return serviceImg;
    }

    public void setServiceImg(String serviceImg) {
        this.serviceImg = serviceImg;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getOwnerCard() {
        return ownerCard;
    }

    public void setOwnerCard(String ownerCard) {
        this.ownerCard = ownerCard;
    }

    public String getSmsSign() {
        return smsSign;
    }

    public void setSmsSign(String smsSign) {
        this.smsSign = smsSign;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getRegisteGiveAmount() {
        return registeGiveAmount;
    }

    public void setRegisteGiveAmount(BigDecimal registeGiveAmount) {
        this.registeGiveAmount = registeGiveAmount;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getShopVerificationCode() {
        return shopVerificationCode;
    }

    public void setShopVerificationCode(String shopVerificationCode) {
        this.shopVerificationCode = shopVerificationCode;
    }

    public String getElecServerDomain() {
        return elecServerDomain;
    }

    public void setElecServerDomain(String elecServerDomain) {
        this.elecServerDomain = elecServerDomain;
    }

    public Integer getElecServerSpliter() {
        return elecServerSpliter;
    }

    public void setElecServerSpliter(Integer elecServerSpliter) {
        this.elecServerSpliter = elecServerSpliter;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getOperateOpenforWx() {
        return operateOpenforWx;
    }

    public void setOperateOpenforWx(String operateOpenforWx) {
        this.operateOpenforWx = operateOpenforWx;
    }

    public String getOperateOpenforMini() {
        return operateOpenforMini;
    }

    public void setOperateOpenforMini(String operateOpenforMini) {
        this.operateOpenforMini = operateOpenforMini;
    }

    public String getOperateOpenforApp() {
        return operateOpenforApp;
    }

    public void setOperateOpenforApp(String operateOpenforApp) {
        this.operateOpenforApp = operateOpenforApp;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
